Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump the python group with 7 updates #321

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 7, 2023

Bumps the python group with 7 updates:

Package From To
pypdf 3.16.4 3.17.1
aws-lambda-powertools 2.26.0 2.29.0
boto3 1.28.66 1.33.9
black 23.10.0 23.11.0
mypy 1.6.1 1.7.1
pylint 3.0.1 3.0.2
pytest 7.4.2 7.4.3

Updates pypdf from 3.16.4 to 3.17.1

Release notes

Sourced from pypdf's releases.

Version 3.17.1, 2023-11-14

What's new

Bug Fixes (BUG)

Robustness (ROB)

Documentation (DOC)

Maintenance (MAINT)

Full Changelog

Version 3.17.0, 2023-10-29

What's new

Security (SEC)

New Features (ENH)

Bug Fixes (BUG)

Documentation (DOC)

Developer Experience (DEV)

Maintenance (MAINT)

Testing (TST)

... (truncated)

Changelog

Sourced from pypdf's changelog.

Version 3.17.1, 2023-11-14

Bug Fixes (BUG)

  • Mediabox expansion size when applying non-right angle rotation (#2282)

Robustness (ROB)

  • MissingWidth is IndirectObject (#2288)
  • Initialize states array with an empty value (#2280)

Full Changelog

Version 3.17.0, 2023-10-29

Security (SEC)

  • Infinite recursion when using PdfWriter(clone_from=reader) (#2264)

New Features (ENH)

  • Add parameter to select images to be removed (#2214)

Bug Fixes (BUG)

  • Correctly handle image mode 1 with FlateDecode (#2249)
  • Error when filling a value with parentheses #2268 (#2269)
  • Handle empty root outline (#2239)

Full Changelog

Commits

Updates aws-lambda-powertools from 2.26.0 to 2.29.0

Release notes

Sourced from aws-lambda-powertools's releases.

v2.28.1

Summary

This patch release fixes a bug on the event handler utility, where using the compress option was causing an error.

Huge thanks to @​dacianf for reporting this!

Changes

This release was made possible by the following contributors:

@​github-actions, @​github-actions[bot] and @​rubenfonseca

v2.28.0

Summary

This release adds support for Data Validation and automatic OpenAPI generation in Event Handler.

Even better, it works with your existing resolver (API Gateway REST/HTTP, ALB, Lambda Function URL, VPC Lattice)!

Did you read that correctly? Yes, you did! Look at this:

image (9)

Data validation

Docs: Data validation

By adding enable_validation=True to your resolver constructor, you’ll change the way the resolver works. We will:

  1. inspect your route handlers to gather input and output types (including Pydantic models and dataclasses)
  2. validate and coerce the input data for you automatically before invoking your route handlers
  3. validate and coerce the output data for you automatically after invoking your route handlers
  4. enable a cool feature (see the next section!)

This moves data validation responsibilities to Event Handler resolvers, reducing a ton of boilerplate code. You can now focus on just writing your business logic, and leave the validation to us!

from typing import List, Optional
import requests
from pydantic import BaseModel, Field
from aws_lambda_powertools import Logger, Tracer
from aws_lambda_powertools.event_handler import APIGatewayRestResolver
from aws_lambda_powertools.logging import correlation_paths
from aws_lambda_powertools.utilities.typing import LambdaContext
</tr></table>

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v2.29.0] - 2023-12-06

Bug Fixes

  • event_handler: serialize pydantic/dataclasses in exception handler (#3455)
  • metrics: lambda_handler typing, and **kwargs preservation all middlewares (#3460)

Features

  • event_sources: add get_context() to standardize API Gateway Lambda Authorizer context in v1 and v2 (#3454)

Maintenance

  • version bump
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3441)
  • deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.1 to 3.0.2 (#3449)
  • deps: bump datadog-lambda from 5.83.0 to 5.84.0 (#3438)
  • deps: bump cryptography from 41.0.4 to 41.0.6 (#3431)
  • deps: bump squidfunk/mkdocs-material from fc42bac to 8c72011 in /docs (#3416)
  • deps: bump actions/dependency-review-action from 3.1.3 to 3.1.4 (#3426)
  • deps: bump actions/setup-python from 4.7.1 to 4.8.0 (#3456)
  • deps: bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 (#3433)
  • deps-dev: bump cfn-lint from 0.83.3 to 0.83.4 (#3450)
  • deps-dev: bump ruff from 0.1.6 to 0.1.7 (#3458)
  • deps-dev: bump sentry-sdk from 1.36.0 to 1.38.0 (#3435)
  • deps-dev: bump aws-cdk-lib from 2.110.1 to 2.111.0 (#3428)
  • deps-dev: bump aws-cdk from 2.112.0 to 2.113.0 (#3448)
  • deps-dev: bump aws-cdk from 2.110.1 to 2.111.0 (#3418)
  • deps-dev: bump the boto-typing group with 11 updates (#3427)
  • deps-dev: bump the boto-typing group with 1 update (#3457)
  • deps-dev: bump aws-cdk from 2.111.0 to 2.112.0 (#3440)
  • layers: Update log retention to 10 years (#3424)

[v2.28.1] - 2023-11-28

Bug Fixes

  • event_handler: fix compress handling (#3420)

Maintenance

  • version bump

[v2.28.0] - 2023-11-23

Bug Fixes

  • event_handler: hide error details by default (#3406)
  • event_handler: fix format for OpenAPI path templating (#3399)

... (truncated)

Commits
  • 139c0fd chore: version bump
  • 5fda86d fix(metrics): lambda_handler typing, and **kwargs preservation all middleware...
  • d76607c feat(event_sources): add get_context() to standardize API Gateway Lambda Auth...
  • 05dd82b fix(event_handler): serialize pydantic/dataclasses in exception handler (#3455)
  • 4a49071 chore(ci): changelog rebuild (#3459)
  • 99aef19 chore(deps-dev): bump the boto-typing group with 1 update (#3457)
  • 475342e chore(deps-dev): bump ruff from 0.1.6 to 0.1.7 (#3458)
  • 246fe59 chore(deps): bump actions/setup-python from 4.7.1 to 4.8.0 (#3456)
  • ddd9bd8 chore(deps-dev): bump cfn-lint from 0.83.3 to 0.83.4 (#3450)
  • ca117dd chore(ci): changelog rebuild (#3452)
  • Additional commits viewable in compare view

Updates boto3 from 1.28.66 to 1.33.9

Changelog

Sourced from boto3's changelog.

1.33.9

  • api-change:backup: [botocore] AWS Backup - Features: Add VaultType to the output of DescribeRecoveryPoint, ListRecoveryPointByBackupVault API and add ResourceType to the input of ListRestoreJobs API
  • api-change:comprehend: [botocore] Documentation updates for Trust and Safety features.
  • api-change:connect: [botocore] Releasing Tagging Support for Instance Management APIS
  • api-change:ec2: [botocore] Releasing the new cpuManufacturer attribute within the DescribeInstanceTypes API response which notifies our customers with information on who the Manufacturer is for the processor attached to the instance, for example: Intel.
  • api-change:payment-cryptography: [botocore] AWS Payment Cryptography IPEK feature release

1.33.8

  • api-change:athena: [botocore] Adding IdentityCenter enabled request for interactive query
  • api-change:cleanroomsml: [botocore] Updated service title from cleanroomsml to CleanRoomsML.
  • api-change:cloudformation: [botocore] Documentation update, December 2023
  • api-change:ec2: [botocore] Adds A10G, T4G, and H100 as accelerator name options and Habana as an accelerator manufacturer option for attribute based selection

1.33.7

  • api-change:billingconductor: [botocore] This release adds the ability to specify a linked account of the billing group for the custom line item resource.
  • api-change:braket: [botocore] This release enhances service support to create quantum tasks and hybrid jobs associated with Braket Direct Reservations.
  • api-change:cloud9: [botocore] This release adds the requirement to include the imageId parameter in the CreateEnvironmentEC2 API call.
  • api-change:cloudformation: [botocore] Including UPDATE_* states as a success status for CreateStack waiter.
  • api-change:finspace: [botocore] Release General Purpose type clusters
  • api-change:medialive: [botocore] Adds support for custom color correction on channels using 3D LUT files.
  • api-change:servicecatalog-appregistry: [botocore] Documentation-only updates for Dawn
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version

1.33.6

  • api-change:qconnect: [botocore] This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target.
  • api-change:rbin: [botocore] Added resource identifier in the output and updated error handling.
  • api-change:verifiedpermissions: [botocore] Adds description field to PolicyStore API's and namespaces field to GetSchema.

1.33.5

  • api-change:arc-zonal-shift: [botocore] This release adds a new capability, zonal autoshift. You can configure zonal autoshift so that AWS shifts traffic for a resource away from an Availability Zone, on your behalf, when AWS determines that there is an issue that could potentially affect customers in the Availability Zone.
  • api-change:glue: [botocore] Adds observation and analyzer support to the GetDataQualityResult and BatchGetDataQualityResult APIs.
  • api-change:sagemaker: [botocore] This release adds support for 1/ Code Editor, based on Code-OSS, Visual Studio Code Open Source, a new fully managed IDE option in SageMaker Studio 2/ JupyterLab, a new fully managed JupyterLab IDE experience in SageMaker Studio

1.33.4

... (truncated)

Commits
  • 42a08fd Merge branch 'release-1.33.9'
  • 6a033e8 Bumping version to 1.33.9
  • 886ce59 Add changelog entries from botocore
  • 14179cc Merge branch 'release-1.33.8'
  • 5553295 Merge branch 'release-1.33.8' into develop
  • ebf5450 Bumping version to 1.33.8
  • 83c3da9 Add changelog entries from botocore
  • a3e710d Merge pull request #3965 from boto/pre-commit-updates
  • b52f3e9 Run new pre-commit settings
  • 6bfed42 Update pre-commit versions
  • Additional commits viewable in compare view

Updates black from 23.10.0 to 23.11.0

Release notes

Sourced from black's releases.

23.11.0

Highlights

  • Support formatting ranges of lines with the new --line-ranges command-line option (#4020)

Stable style

  • Fix crash on formatting bytes strings that look like docstrings (#4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
  • Fix standalone comments inside complex blocks crashing Black (#4016)
  • Fix crash on formatting code like await (a ** b) (#3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)

Preview style

  • Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
  • In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable general trailing comma rules on case blocks (#4024)
  • Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
  • Add support for single-line format skip with other comments on the same line (#3959)

Configuration

  • Consistently apply force exclusion logic before resolving symlinks (#4015)
  • Fix a bug in the matching of absolute path names in --include (#3976)

Performance

  • Fix mypyc builds on arm64 on macOS (#4017)

Integrations

  • Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)

23.10.1

Highlights

  • Maintanence release to get a fix out for GitHub Action edge case (#3957)

Preview style

... (truncated)

Changelog

Sourced from black's changelog.

23.11.0

Highlights

  • Support formatting ranges of lines with the new --line-ranges command-line option (#4020)

Stable style

  • Fix crash on formatting bytes strings that look like docstrings (#4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
  • Fix standalone comments inside complex blocks crashing Black (#4016)
  • Fix crash on formatting code like await (a ** b) (#3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)

Preview style

  • Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
  • In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable general trailing comma rules on case blocks (#4024)
  • Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
  • Add support for single-line format skip with other comments on the same line (#3959)

Configuration

  • Consistently apply force exclusion logic before resolving symlinks (#4015)
  • Fix a bug in the matching of absolute path names in --include (#3976)

Performance

  • Fix mypyc builds on arm64 on macOS (#4017)

Integrations

  • Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)

23.10.1

Highlights

  • Maintenance release to get a fix out for GitHub Action edge case (#3957)

... (truncated)

Commits
  • 2a1c67e Prepare release 23.11.0 (#4032)
  • 72e7a2e Remove redundant condition from has_magic_trailing_comma (#4023)
  • 1a7d9c2 Preserve visible quote types for f-string debug expressions (#4005)
  • f4c7be5 docs: fix minor typo (#4030)
  • 2e4fac9 Apply force exclude logic before symlink resolution (#4015)
  • 66008fd [563] Fix standalone comments inside complex blocks crashing Black (#4016)
  • 50ed622 Fix long case blocks not split into multiple lines (#4024)
  • 46be1f8 Support formatting specified lines (#4020)
  • ecbd9e8 Fix crash with f-string docstrings (#4019)
  • e808e61 Preview: Keep requiring two empty lines between module-level docstring and fi...
  • Additional commits viewable in compare view

Updates mypy from 1.6.1 to 1.7.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Stubgen will now include __all__ in its output if it is in the input file (PR 16356).

Mypy 1.7

We’ve just uploaded mypy 1.7 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Using TypedDict for **kwargs Typing

Mypy now has support for using Unpack[...] with a TypedDict type to annotate **kwargs arguments enabled by default. Example:

# Or 'from typing_extensions import ...'
from typing import TypedDict, Unpack
class Person(TypedDict):
name: str
age: int
def foo(**kwargs: Unpack[Person]) -> None:
...
foo(name="x", age=1)  # Ok
foo(name=1)  # Error

The definition of foo above is equivalent to the one below, with keyword-only arguments name and age:

def foo(*, name: str, age: int) -> None:
    ...

Refer to PEP 692 for more information. Note that unlike in the current version of the PEP, mypy always treats signatures with Unpack[SomeTypedDict] as equivalent to their expanded forms with explicit keyword arguments, and there aren't special type checking rules for TypedDict arguments.

This was contributed by Ivan Levkivskyi back in 2022 (PR 13471).

TypeVarTuple Support Enabled (Experimental)

Mypy now has support for variadic generics (TypeVarTuple) enabled by default, as an experimental feature. Refer to PEP 646 for the details.

TypeVarTuple was implemented by Jared Hance and Ivan Levkivskyi over several mypy releases, with help from Jukka Lehtosalo.

... (truncated)

Commits

Updates pylint from 3.0.1 to 3.0.2

Commits

Updates pytest from 7.4.2 to 7.4.3

Release notes

Sourced from pytest's releases.

pytest 7.4.3 (2023-10-24)

Bug Fixes

  • #10447: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.

  • #11239: Fixed := in asserts impacting unrelated test cases.

  • #11439: Handled an edge case where :data:sys.stderr might already be closed when :ref:faulthandler is tearing down.

Commits
  • 2390610 Tweak changelog.rst
  • a0714aa Prepare release version 7.4.3
  • 44ad1c9 [7.4.x] fix #10447 - consider marks in reverse mro order to give base classes...
  • 5dc7725 [7.4.x] Ensure logging tests always cleanup after themselves (#11541)
  • a517827 [7.4.x] Configure ReadTheDocs to fail on warnings (#11540)
  • 21fe071 [7.4.x] fix for ValueError raised in faulthandler teardown code (#11455)
  • f8bb857 Force terminal width when running tests (#11425) (#11432)
  • 1944dc0 [7.4.x] Fix --import-mode=importlib when root contains __init__.py file (#1...
  • 946634c Merge pull request #11419 from nicoddemus/backport-11414-to-7.4.x
  • d849a3e [7.4.x] fix: closes #11343's [attr-defined] type errors (#11421)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [pypdf](https://github.com/py-pdf/pypdf) | `3.16.4` | `3.17.1` |
| [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) | `2.26.0` | `2.29.0` |
| [boto3](https://github.com/boto/boto3) | `1.28.66` | `1.33.9` |
| [black](https://github.com/psf/black) | `23.10.0` | `23.11.0` |
| [mypy](https://github.com/python/mypy) | `1.6.1` | `1.7.1` |
| [pylint](https://github.com/pylint-dev/pylint) | `3.0.1` | `3.0.2` |
| [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` |


Updates `pypdf` from 3.16.4 to 3.17.1
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](py-pdf/pypdf@3.16.4...3.17.1)

Updates `aws-lambda-powertools` from 2.26.0 to 2.29.0
- [Release notes](https://github.com/aws-powertools/powertools-lambda-python/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-python/blob/develop/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-python@v2.26.0...v2.29.0)

Updates `boto3` from 1.28.66 to 1.33.9
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.28.66...1.33.9)

Updates `black` from 23.10.0 to 23.11.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.10.0...23.11.0)

Updates `mypy` from 1.6.1 to 1.7.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.6.1...v1.7.1)

Updates `pylint` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.0.1...v3.0.2)

Updates `pytest` from 7.4.2 to 7.4.3
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.2...7.4.3)

---
updated-dependencies:
- dependency-name: pypdf
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: aws-lambda-powertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies python Pull requests that update Python code labels Dec 7, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/python-89111d2046 branch from bb185d0 to 548fe39 Compare December 7, 2023 15:18
Copy link

changeset-bot bot commented Dec 7, 2023

🦋 Changeset detected

Latest commit: 43a8b2b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
arcane-scripts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

changeset-bot bot commented Dec 7, 2023

⚠️ No Changeset found

Latest commit: 548fe39

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Jan 1, 2024
@dependabot dependabot bot deleted the dependabot/pip/python-89111d2046 branch January 1, 2024 16:16
@chizmw chizmw added the deps Pull requests that update a dependency label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Pull requests that update a dependency python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant